/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: OtcAdsListResponse.java
 *   @Date: 19-3-4 下午6:04
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2019 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.otc.bean;

import java.io.Serializable;
import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

public class OtcAdsListResponse extends BaseResponse {

    /**
     * hasNext : false
     * items : [{"id":"22878161132712","accountId":"321771271147271","nickName":"","tokenId":"GRIN","currencyId":"CNY","side":1,"priceType":0,"price":"100.00","premium":"0","lastQuantity":"5","quantity":"5","frozenQuantity":"0","executedQuantity":"0","minAmount":"100.00","maxAmount":"200.00","remark":"快买吧grin","status":10,"createDate":"1551693072000","payments":[],"orderNum":0,"finishNum":0,"recentOrderNum":0,"recentExecuteRate":0},{"id":"692089586112271","accountId":"321771271147271","nickName":"","tokenId":"BTC","currencyId":"CNY","side":1,"priceType":0,"price":"100.73","premium":"0","lastQuantity":"5","quantity":"5","frozenQuantity":"0","executedQuantity":"0","minAmount":"100.00","maxAmount":"600.70","remark":"快买","status":10,"createDate":"1551692963000","payments":[],"orderNum":0,"finishNum":0,"recentOrderNum":0,"recentExecuteRate":0},{"id":"534171213661122","accountId":"321771271147271","nickName":"","tokenId":"GRIN","currencyId":"CNY","side":0,"priceType":0,"price":"100.00","premium":"0","lastQuantity":"5","quantity":"5","frozenQuantity":"0","executedQuantity":"0","minAmount":"100.60","maxAmount":"500.80","remark":"","status":10,"createDate":"1551692913000","payments":[],"orderNum":0,"finishNum":0,"recentOrderNum":0,"recentExecuteRate":0},{"id":"232241050610172","accountId":"321771271147271","nickName":"","tokenId":"BTC","currencyId":"CNY","side":0,"priceType":1,"price":"0.00","premium":"120","lastQuantity":"5","quantity":"5","frozenQuantity":"0","executedQuantity":"0","minAmount":"100.00","maxAmount":"1200.00","remark":"购买BTC","status":10,"createDate":"1551688458000","payments":[],"orderNum":0,"finishNum":0,"recentOrderNum":0,"recentExecuteRate":0},{"id":"517204241724372","accountId":"321771271147271","nickName":"","tokenId":"ETH","currencyId":"CNY","side":0,"priceType":1,"price":"0.00","premium":"120","lastQuantity":"100","quantity":"100","frozenQuantity":"0","executedQuantity":"0","minAmount":"100.00","maxAmount":"500.00","remark":"我要购买ETH","status":10,"createDate":"1550219331000","payments":[],"orderNum":1,"finishNum":1,"recentOrderNum":0,"recentExecuteRate":0}]
     */

    private boolean hasNext;
    private List<AdBean> items;

    public boolean isHasNext() {
        return hasNext;
    }

    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    public List<AdBean> getItems() {
        return items;
    }

    public void setItems(List<AdBean> items) {
        this.items = items;
    }

    public static class AdBean implements Serializable {
        /**
         * id : 22878161132712
         * accountId : 321771271147271
         * nickName :
         * tokenId : GRIN
         * tokenName : GRIN
         * currencyId : CNY
         * side : 1
         * priceType : 0
         * price : 100.00
         * premium : 0
         * lastQuantity : 5
         * quantity : 5
         * frozenQuantity : 0
         * executedQuantity : 0
         * minAmount : 100.00
         * maxAmount : 200.00
         * remark : 快买吧grin
         * status : 10
         * createDate : 1551693072000
         * payments : []
         * orderNum : 0
         * finishNum : 0
         * recentOrderNum : 0
         * recentExecuteRate : 0
         */

        private String id;
        private String accountId;
        private String nickName;
        private String tokenId;
        private String tokenName;
        private String currencyId;
        private int side;
        private int priceType;
        private String price;
        private String premium;
        private String lastQuantity;
        private String quantity;
        private String frozenQuantity;
        private String executedQuantity;
        private String minAmount;
        private String maxAmount;
        private String remark;
        private int status;
        private String createDate;
        private String orderNum;
        private String finishNum;
        private String recentOrderNum;
        private String recentExecuteRate;
        private String fee;
        private List<?> payments;

        public String getFee() {
            return fee;
        }

        public void setFee(String fee) {
            this.fee = fee;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAccountId() {
            return accountId;
        }

        public void setAccountId(String accountId) {
            this.accountId = accountId;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getTokenId() {
            return tokenId;
        }

        public void setTokenId(String tokenId) {
            this.tokenId = tokenId;
        }

        public String getTokenName() {
            return tokenName;
        }

        public void setTokenName(String tokenName) {
            this.tokenName = tokenName;
        }

        public String getCurrencyId() {
            return currencyId;
        }

        public void setCurrencyId(String currencyId) {
            this.currencyId = currencyId;
        }

        public int getSide() {
            return side;
        }

        public void setSide(int side) {
            this.side = side;
        }

        public int getPriceType() {
            return priceType;
        }

        public void setPriceType(int priceType) {
            this.priceType = priceType;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPremium() {
            return premium;
        }

        public void setPremium(String premium) {
            this.premium = premium;
        }

        public String getLastQuantity() {
            return lastQuantity;
        }

        public void setLastQuantity(String lastQuantity) {
            this.lastQuantity = lastQuantity;
        }

        public String getQuantity() {
            return quantity;
        }

        public void setQuantity(String quantity) {
            this.quantity = quantity;
        }

        public String getFrozenQuantity() {
            return frozenQuantity;
        }

        public void setFrozenQuantity(String frozenQuantity) {
            this.frozenQuantity = frozenQuantity;
        }

        public String getExecutedQuantity() {
            return executedQuantity;
        }

        public void setExecutedQuantity(String executedQuantity) {
            this.executedQuantity = executedQuantity;
        }

        public String getMinAmount() {
            return minAmount;
        }

        public void setMinAmount(String minAmount) {
            this.minAmount = minAmount;
        }

        public String getMaxAmount() {
            return maxAmount;
        }

        public void setMaxAmount(String maxAmount) {
            this.maxAmount = maxAmount;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }

        public String getFinishNum() {
            return finishNum;
        }

        public void setFinishNum(String finishNum) {
            this.finishNum = finishNum;
        }

        public String getRecentOrderNum() {
            return recentOrderNum;
        }

        public void setRecentOrderNum(String recentOrderNum) {
            this.recentOrderNum = recentOrderNum;
        }

        public String getRecentExecuteRate() {
            return recentExecuteRate;
        }

        public void setRecentExecuteRate(String recentExecuteRate) {
            this.recentExecuteRate = recentExecuteRate;
        }

        public List<?> getPayments() {
            return payments;
        }

        public void setPayments(List<?> payments) {
            this.payments = payments;
        }
    }
}
